<!--
  描述：复职信息表详情页
  @author tanghongjun
  @since 2020-10-22 15:53:17
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss">
    <title>新增或编辑分类</title>
</head>
<body>

<div class="layui-fluid">

    <div class="layui-card">
        <form method="post" action="" class="layui-form" lay-filter="zmn-form">

            <input type="hidden" name="reinstateId" th:value="${staffReinstatement.reinstateId}"/>
            <input type="hidden" name="staffId" th:value="${staffReinstatement.staffId}"/>

            <div class="layui-form-item">
                <label class="layui-form-label">入职时间：</label>
                <div class="layui-input-block">
                    <div class="layui-form-mid">
                        <span th:text="${T(com.zmn.common.utils.date.DateUtil).toString(staffReinstatement.entryTime)}">入职时间</span>
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">离职时间：</label>
                <div class="layui-input-block">
                    <div class="layui-form-mid">
                        <span th:text="${T(com.zmn.common.utils.date.DateUtil).toString(staffReinstatement.lastWorkTime)}">离职时间</span>
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label layui-form-required">复职备注：</label>
                <div class="layui-input-block">
                    <div class="layui-input-inline" style="width: 390px">
                    <textarea placeholder="复职备注" maxlength="250" th:text="${staffReinstatement.remark}" id="remark"
                              name="remark"
                              class="layui-textarea"></textarea>
                    </div>
                </div>
            </div>

            <div class="layui-split">&nbsp;</div>
            <div class="layui-form-item layui-layout-admin submit" id="submit_id">
                <div class="layui-input-block">
                    <div class="layui-footer" style="left: 0;">
                        <button class="layui-btn"
                                th:if="${#authPermit.checkPermit('/staff/staffreinstatement/addEdit.action')}"
                                lay-submit="" lay-filter="zmn-form-submit">保存
                        </button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
            </div>
            <div class="layui-split">&nbsp;</div>
        </form>

    </div>

</div>

<script type="text/javascript" th:inline="javascript">

    var json = {
        staffReinstatement: [[${staffReinstatement}]]
    };

    layui.config({
        base: "/static/lay/",
        version: 202010261751
    }).extend({
        index: "lib/index",
        plat_staffreinstatement_detail: "staff/staffreinstatement/zmn.mcc.staff.reinstatement.edit",
    }).use(['index', 'plat_staffreinstatement_detail']);

</script>
</body>
</html>